package com.quanyan.common.user;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author Hugo.Wwg
 * @Since 2016-05-27
 */
public class AppUserCacheInfo implements Serializable {

    private static final long serialVersionUID = 224357787911415768L;

    private Integer user_id = 0; //游客用户无此字段

    private String ver = "";

    private Integer dev = 0; //终端类型 1:iOS 2:Android   3:H5

    private String dsn = "";

    private String appid = "";

    private String channel = ""; //渠道号

    private String os = ""; //操作系统

    private String screen_resolution = "";

    private int create_time = 0;

    private int update_time = 0;

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public String getVer() {
        return ver;
    }

    public void setVer(String ver) {
        this.ver = ver;
    }

    public Integer getDev() {
        return dev;
    }

    public void setDev(Integer dev) {
        this.dev = dev;
    }

    public String getDsn() {
        return dsn;
    }

    public void setDsn(String dsn) {
        this.dsn = dsn;
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getOs() {
        return os;
    }

    public void setOs(String os) {
        this.os = os;
    }

    public String getScreen_resolution() {
        return screen_resolution;
    }

    public void setScreen_resolution(String screen_resolution) {
        this.screen_resolution = screen_resolution;
    }

    public int getCreate_time() {
        return create_time;
    }

    public void setCreate_time(int create_time) {
        this.create_time = create_time;
    }

    public int getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(int update_time) {
        this.update_time = update_time;
    }

    @Override
    public String toString() {
        return "AppUserCacheInfo{" +
                "user_id=" + user_id +
                ", ver='" + ver + '\'' +
                ", dev=" + dev +
                ", dsn='" + dsn + '\'' +
                ", appid='" + appid + '\'' +
                ", channel='" + channel + '\'' +
                ", os='" + os + '\'' +
                ", screen_resolution='" + screen_resolution + '\'' +
                ", create_time=" + create_time +
                ", update_time=" + update_time +
                '}';
    }
}
